/*
 * RedPacketAssetMessageListItem.java
 * business
 *
 * Created by ChenTao on 2017/1/10.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.bean.Message;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.NormalAssetMessageHolder;

/**
 * 我的资产-红包消息-ListItem
 */
public class NormalAssetMessageListItem extends DisplayListItem<NormalAssetMessageHolder, Message> {

    public NormalAssetMessageListItem(Message message) {
        super(message);
    }

    @Override
    public void onShow(Context context, NormalAssetMessageHolder holder) {
        holder.refreshTime(data);
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return NormalAssetMessageListItem.class.getSimpleName();
    }

    @Override
    public Class<NormalAssetMessageHolder> getViewHolderClazz() {
        return NormalAssetMessageHolder.class;
    }
}
